package com.example.clxy.service;

import com.example.clxy.entity.Unbind;
import com.example.clxy.entity.dto.UnBindDto;
import com.example.clxy.result.PageResult;
import com.example.clxy.result.WebRestResult;
import com.example.clxy.result.business.PageResult.UnbindPageResult;

/**
 * @author weichong
 * date 2020-08-06
 * @Description:
 */
public interface WechatBindService {

    WebRestResult addWechatBind(String openid, String  account,String wxnumber,String wxname );

    WebRestResult addWechatBindApply(Unbind unbind);

    PageResult<UnbindPageResult> getWechatBindApply(int page, int pagesize);

    WebRestResult passWechatBindApply(String unbindid);

    WebRestResult refuseWechatBindApply(String unbindid,String rejectreason);

    WebRestResult wxApplyUnbind(UnBindDto unBindDto);

}
